package com.qiche.service2.impl;

import com.qiche.mapper2.SeckillSuccess2Mapper;
import com.qiche.model.SeckillSuccess2;
import com.qiche.service.impl.BaseService;
import com.qiche.service2.SeckillSuccess2Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chendezhi
 * @date 2018/3/28 19:39
 */
@Service
public class SeckillSuccess2ServiceImpl extends BaseService<SeckillSuccess2> implements SeckillSuccess2Service {
    @Autowired
    private SeckillSuccess2Mapper seckillSuccess2Mapper;
    @Override
    public SeckillSuccess2 selectByIdWithStore(Long memberId, Long cardId) {
        return seckillSuccess2Mapper.selectByIdWithStore(memberId,cardId);
    }
}
